Optimal. Leaf size=116 \[ -\frac{a^3 e^{-a} x^m (b x)^{-m} \text{Gamma}(m+1,b x)}{b}-\frac{3 a^2 e^{-a} x^m (b x)^{-m} \text{Gamma}(m+2,b x)}{b}-\frac{3 a e^{-a} x^m (b x)^{-m} \text{Gamma}(m+3,b x)}{b}-\frac{e^{-a} x^m (b x)^{-m} \text{Gamma}(m+4,b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.174801, antiderivative size = 116, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {2199, 2181} \[ -\frac{a^3 e^{-a} x^m (b x)^{-m} \text{Gamma}(m+1,b x)}{b}-\frac{3 a^2 e^{-a} x^m (b x)^{-m} \text{Gamma}(m+2,b x)}{b}-\frac{3 a e^{-a} x^m (b x)^{-m} \text{Gamma}(m+3,b x)}{b}-\frac{e^{-a} x^m (b x)^{-m} \text{Gamma}(m+4,b x)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2199
Rule 2181
Rubi steps
\begin{align*} \int e^{-a-b x} x^m (a+b x)^3 \, dx &=\int \left (a^3 e^{-a-b x} x^m+3 a^2 b e^{-a-b x} x^{1+m}+3 a b^2 e^{-a-b x} x^{2+m}+b^3 e^{-a-b x} x^{3+m}\right ) \, dx\\ &=a^3 \int e^{-a-b x} x^m \, dx+\left (3 a^2 b\right ) \int e^{-a-b x} x^{1+m} \, dx+\left (3 a b^2\right ) \int e^{-a-b x} x^{2+m} \, dx+b^3 \int e^{-a-b x} x^{3+m} \, dx\\ &=-\frac{a^3 e^{-a} x^m (b x)^{-m} \Gamma (1+m,b x)}{b}-\frac{3 a^2 e^{-a} x^m (b x)^{-m} \Gamma (2+m,b x)}{b}-\frac{3 a e^{-a} x^m (b x)^{-m} \Gamma (3+m,b x)}{b}-\frac{e^{-a} x^m (b x)^{-m} \Gamma (4+m,b x)}{b}\\ \end{align*}
Mathematica [A] time = 0.0568417, size = 61, normalized size = 0.53 \[ -\frac{e^{-a} x^m (b x)^{-m} \left (a^3 \text{Gamma}(m+1,b x)+3 a^2 \text{Gamma}(m+2,b x)+3 a \text{Gamma}(m+3,b x)+\text{Gamma}(m+4,b x)\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.08, size = 334, normalized size = 2.9 \begin{align*}{b}^{-m-1}{{\rm e}^{-a}} \left ({x}^{m}{b}^{m} \left ({m}^{2}+5\,m+6 \right ) \left ( bx \right ) ^{-{\frac{m}{2}}}{{\rm e}^{-{\frac{bx}{2}}}}{{\sl M}_{{\frac{m}{2}},\,{\frac{m}{2}}+{\frac{1}{2}}}\left (bx\right )}-{x}^{m}{b}^{m} \left ({b}^{2}{x}^{2}+bmx+3\,bx+{m}^{2}+5\,m+6 \right ) \left ( bx \right ) ^{-{\frac{m}{2}}}{{\rm e}^{-{\frac{bx}{2}}}}{{\sl M}_{{\frac{m}{2}}+1,\,{\frac{m}{2}}+{\frac{1}{2}}}\left (bx\right )} \right ) +3\,{b}^{-m-1}{{\rm e}^{-a}}a \left ({x}^{m}{b}^{m} \left ( 2+m \right ) \left ( bx \right ) ^{-m/2}{{\rm e}^{-1/2\,bx}}{{\sl M}_{m/2,\,m/2+1/2}\left (bx\right )}-{x}^{m}{b}^{m} \left ( bx+m+2 \right ) \left ( bx \right ) ^{-m/2}{{\rm e}^{-1/2\,bx}}{{\sl M}_{m/2+1,\,m/2+1/2}\left (bx\right )} \right ) +3\,{b}^{-m-1}{{\rm e}^{-a}}{a}^{2} \left ({x}^{m}{b}^{m} \left ( bx \right ) ^{-m/2}{{\rm e}^{-1/2\,bx}}{{\sl M}_{m/2,\,m/2+1/2}\left (bx\right )}+{\frac{{x}^{m}{b}^{m} \left ( -2-m \right ) \left ( bx \right ) ^{-m/2}{{\rm e}^{-1/2\,bx}}{{\sl M}_{m/2+1,\,m/2+1/2}\left (bx\right )}}{2+m}} \right ) +{\frac{{a}^{3}{x}^{m}}{b \left ( 1+m \right ) }{{\rm e}^{-a-{\frac{bx}{2}}}} \left ( bx \right ) ^{-{\frac{m}{2}}}{{\sl M}_{{\frac{m}{2}},\,{\frac{m}{2}}+{\frac{1}{2}}}\left (bx\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.23557, size = 166, normalized size = 1.43 \begin{align*} -\left (b x\right )^{-m - 4} b^{3} x^{m + 4} e^{\left (-a\right )} \Gamma \left (m + 4, b x\right ) - 3 \, \left (b x\right )^{-m - 3} a b^{2} x^{m + 3} e^{\left (-a\right )} \Gamma \left (m + 3, b x\right ) - 3 \, \left (b x\right )^{-m - 2} a^{2} b x^{m + 2} e^{\left (-a\right )} \Gamma \left (m + 2, b x\right ) - \left (b x\right )^{-m - 1} a^{3} x^{m + 1} e^{\left (-a\right )} \Gamma \left (m + 1, b x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56245, size = 297, normalized size = 2.56 \begin{align*} -\frac{{\left (b^{3} x^{3} +{\left (3 \,{\left (a + 1\right )} b^{2} + b^{2} m\right )} x^{2} +{\left ({\left (3 \, a + 5\right )} b m + b m^{2} + 3 \,{\left (a^{2} + 2 \, a + 2\right )} b\right )} x\right )} x^{m} e^{\left (-b x - a\right )} +{\left (a^{3} + 3 \,{\left (a + 2\right )} m^{2} + m^{3} + 3 \, a^{2} +{\left (3 \, a^{2} + 9 \, a + 11\right )} m + 6 \, a + 6\right )} e^{\left (-m \log \left (b\right ) - a\right )} \Gamma \left (m + 1, b x\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b x + a\right )}^{3} x^{m} e^{\left (-b x - a\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]